package ImsNRMSystem;
/**
 * Generated from IDL enum "NetworkIndicatorType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class NetworkIndicatorType
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _International = 0;
	public static final NetworkIndicatorType International = new NetworkIndicatorType(_International);
	public static final int _Spare = 1;
	public static final NetworkIndicatorType Spare = new NetworkIndicatorType(_Spare);
	public static final int _National = 2;
	public static final NetworkIndicatorType National = new NetworkIndicatorType(_National);
	public static final int _ReservedNationalUse = 3;
	public static final NetworkIndicatorType ReservedNationalUse = new NetworkIndicatorType(_ReservedNationalUse);
	public int value()
	{
		return value;
	}
	public static NetworkIndicatorType from_int(int value)
	{
		switch (value) {
			case _International: return International;
			case _Spare: return Spare;
			case _National: return National;
			case _ReservedNationalUse: return ReservedNationalUse;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _International: return "International";
			case _Spare: return "Spare";
			case _National: return "National";
			case _ReservedNationalUse: return "ReservedNationalUse";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected NetworkIndicatorType(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
